package org.sf.comp.tagging;


import java.util.Arrays;

/**
 * Generic class to represent an image.
 *
 */
public class Image {

	private final int id;
	private final byte[] imageBytes;
	
	public Image(int id, byte[] bs) {
		this.id = id;
		this.imageBytes = bs;
	}

	public int getId() {
		return id;
	}

	public byte[] getImageBytes() {
		return imageBytes;
	}

	@Override
	public String toString() {
		return "Image [id=" + id + ", imageBytes="
				+ Arrays.toString(imageBytes) + "]";
	}

}
